home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Quick PC 62
/
Quick PC 62.iso
/
Programs
/
WebcamXP.Pro.v1.02.590.WinALL
/
wxp_pro.exe
/
$INSTDIR
/
sound.swf
/
scripts
/
DefineButton2_12
/
BUTTONCONDACTION on(press).as
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
2003-07-01
|
706 b
|
23 lines
on(press){
if(playing02 != true && playing != true)
{
playing02 = true;
paused02 = false;
stopped02 = false;
loaded02 = true;
myEvent = 0;
myStreaming = 1;
myMusic02 = new Sound();
myMusic02.loadSound(audiostream,true);
myMusic02Position = 0;
myMusic02Volume = 50;
myMusic02.setVolume(myMusic02Volume);
mySongTypeText = "Streaming Sound";
myInfoText = "Streaming sounds play as soon as enough data is received to begin playback. The sound will play after beginning to load, even without the mySound.start() call.";
}
myMusic02.onSoundComplete = function()
{
playing02 = false;
};
}